/*
 * UtilsJNI.h
 *
 *  Created on: 24/10/2011
 *      Author: faust
 */

#ifndef UTILSJNI_H_
#define UTILSJNI_H_

#include <jni.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <sstream>

using namespace std;

class UtilsJNI
{
public:

	static jint getJavaInt(JNIEnv* env, jobject object, string functionName, string logMsg);

	static jint getJavaFloat(JNIEnv* env, jobject object, string functionName, string logMsg);

	static jfloat* getJavaFloatArray(JNIEnv* env, jobject object, string functionName, string logMsg);

	static jint* getJavaIntArray(JNIEnv* env, jobject object, string functionName, string logMsg);

};


#endif /* UTILSJNI_H_ */
